package chapter3;

public class DynInit {
	
	// Demostrate dynamic initialization
	
	public static void main(String[] args){
		
		double a = 3.0, b = 4.0;
		
		// c is dynamically initializated
		
		double c = Math.sqrt( a * a + b * b);
		
		System.out.println("Hypotenuse is " + c);
		
	}

}
